import 'package:json_annotation/json_annotation.dart';

import 'BaseData.dart';

part 'BaseBean.g.dart';

@JsonSerializable()
class BaseBean{
  late String msg;
  late String code;
  late BaseData? data;

  BaseBean();

  //反序列化
  factory BaseBean.fromJson(Map<String, dynamic> json) => _$BaseBeanFromJson(json);

  //序列化
  Map<String, dynamic> toJson() => _$BaseBeanToJson(this);
}